package com.baidumap.administrator.happystudy.model;

import com.ab.util.AbJsonUtil;

/**
 * 描述：
 * 作者：xiaoxing on 17/4/11 09:54
 * 邮箱：2235445233@qq.com
 */
public class ProductDetail {


    /**
     * code : 200
     * msg : success
     * data : {"product_id":"2177","product_name":"手工牛肉水饺","shop_id":"300","type_id":"144","product_pic1":"/Uploads/2017-04-15/58f0f9b1efad8.jpg","product_pic2":"/Uploads/2017-04-15/58f0f9b1f0ccf.jpg","product_pic3":"/Uploads/2017-04-15/58f0f9b1f2131.jpg","buy_numbers":"0","is_discount":null,"is_tuangou":null,"price_tuangou":"12.90","price":"13.00","maoprice":"0.00","is_kezhuang":"0","smallN_price":null,"smallNB_price":null,"rollN_price":null,"rollNB_price":null,"ssN_price":null,"ssNB_price":null,"info":"<p><span style=\"color: rgb(51, 51, 51); font-family: arial; font-size: 13px; background-color: rgb(255, 255, 255);\">饺子，又名\u201c饺饵\u201d，有<\/span><span style=\"color: rgb(204, 0, 0); font-family: arial; font-size: 13px; background-color: rgb(255, 255, 255);\">水饺<\/span><span style=\"color: rgb(51, 51, 51); font-family: arial; font-size: 13px; background-color: rgb(255, 255, 255);\">、蒸饺、煎饺等分类，是中国的古老传统面食之一，相传是中国东汉南阳医圣张仲景发明的，距今已有一千八百多年的历史了。<\/span><\/p>","discount":"0","tuangou_numbers":null,"unit":"份","dateline":"1490591612","is_open":"1","delivery_type":null,"pay_type":"2","is_shangjia":"1","product_num":"1000","is_new":"0","deal_num":null,"city":null,"is_baoyou":"0","reviews":"100","category_id":"23","community_id":null,"warehouse_id":"0","uid":"332","shop_name":"山西名吃","logo":"/Uploads/2017-04-03/58e21ad3125f6.jpg","business_time":"9：00~22：30","mobile":"15030199038","phone":"15030199038","address":"河北省石家庄市鹿泉区石家庄财经职业学院","lng":"0","lat":"0","product_numbers":"0","tuijian_numbers":"0","call_numbers":"0","shop_level":"0","shop_introduce":"最快十五分钟，违者举报！合理有奖","shop_abstract":"","qq":"","weichat":"","contact":"","introduce":null,"shop_star":"0","shop_sale":"0"}
     */

    private String code;
    private String msg;
    private DataBean data;

    /**
     * 用json构造自己
     *
     * @param json
     */
    public ProductDetail(String json) {
        ProductDetail result = AbJsonUtil.fromJson(json, this.getClass());
        this.code = result.getCode();
        this.msg = result.getMsg();
        this.data = result.getData();

    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }


    public static class DataBean {
        /**
         * product_id : 2177
         * product_name : 手工牛肉水饺
         * shop_id : 300
         * type_id : 144
         * product_pic1 : /Uploads/2017-04-15/58f0f9b1efad8.jpg
         * product_pic2 : /Uploads/2017-04-15/58f0f9b1f0ccf.jpg
         * product_pic3 : /Uploads/2017-04-15/58f0f9b1f2131.jpg
         * buy_numbers : 0
         * is_discount : null
         * is_tuangou : null
         * price_tuangou : 12.90
         * price : 13.00
         * maoprice : 0.00
         * is_kezhuang : 0
         * smallN_price : null
         * smallNB_price : null
         * rollN_price : null
         * rollNB_price : null
         * ssN_price : null
         * ssNB_price : null
         * info : <p><span style="color: rgb(51, 51, 51); font-family: arial; font-size: 13px; background-color: rgb(255, 255, 255);">饺子，又名“饺饵”，有</span><span style="color: rgb(204, 0, 0); font-family: arial; font-size: 13px; background-color: rgb(255, 255, 255);">水饺</span><span style="color: rgb(51, 51, 51); font-family: arial; font-size: 13px; background-color: rgb(255, 255, 255);">、蒸饺、煎饺等分类，是中国的古老传统面食之一，相传是中国东汉南阳医圣张仲景发明的，距今已有一千八百多年的历史了。</span></p>
         * discount : 0
         * tuangou_numbers : null
         * unit : 份
         * dateline : 1490591612
         * is_open : 1
         * delivery_type : null
         * pay_type : 2
         * is_shangjia : 1
         * product_num : 1000
         * is_new : 0
         * deal_num : null
         * city : null
         * is_baoyou : 0
         * reviews : 100
         * category_id : 23
         * community_id : null
         * warehouse_id : 0
         * uid : 332
         * shop_name : 山西名吃
         * logo : /Uploads/2017-04-03/58e21ad3125f6.jpg
         * business_time : 9：00~22：30
         * mobile : 15030199038
         * phone : 15030199038
         * address : 河北省石家庄市鹿泉区石家庄财经职业学院
         * lng : 0
         * lat : 0
         * product_numbers : 0
         * tuijian_numbers : 0
         * call_numbers : 0
         * shop_level : 0
         * shop_introduce : 最快十五分钟，违者举报！合理有奖
         * shop_abstract :
         * qq :
         * weichat :
         * contact :
         * introduce : null
         * shop_star : 0
         * shop_sale : 0
         */

        private String product_id;
        private String product_name;
        private String shop_id;
        private String type_id;
        private String product_pic1;
        private String product_pic2;
        private String product_pic3;
        private String buy_numbers;
        private Object is_discount;
        private Object is_tuangou;
        private String price_tuangou;
        private String price;
        private String maoprice;
        private String is_kezhuang;
        private Object smallN_price;
        private Object smallNB_price;
        private Object rollN_price;
        private Object rollNB_price;
        private Object ssN_price;
        private Object ssNB_price;
        private String info;
        private String discount;
        private Object tuangou_numbers;
        private String unit;
        private String dateline;
        private String is_open;
        private Object delivery_type;
        private String pay_type;
        private String is_shangjia;
        private String product_num;
        private String is_new;
        private Object deal_num;
        private Object city;
        private String is_baoyou;
        private String reviews;
        private String category_id;
        private Object community_id;
        private String warehouse_id;
        private String uid;
        private String shop_name;
        private String logo;
        private String business_time;
        private String mobile;
        private String phone;
        private String address;
        private String lng;
        private String lat;
        private String product_numbers;
        private String tuijian_numbers;
        private String call_numbers;
        private String shop_level;
        private String shop_introduce;
        private String shop_abstract;
        private String qq;
        private String weichat;
        private String contact;
        private Object introduce;
        private String shop_star;
        private String shop_sale;

        public String getProduct_id() {
            return product_id;
        }

        public void setProduct_id(String product_id) {
            this.product_id = product_id;
        }

        public String getProduct_name() {
            return product_name;
        }

        public void setProduct_name(String product_name) {
            this.product_name = product_name;
        }

        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getType_id() {
            return type_id;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public String getProduct_pic1() {
            return product_pic1;
        }

        public void setProduct_pic1(String product_pic1) {
            this.product_pic1 = product_pic1;
        }

        public String getProduct_pic2() {
            return product_pic2;
        }

        public void setProduct_pic2(String product_pic2) {
            this.product_pic2 = product_pic2;
        }

        public String getProduct_pic3() {
            return product_pic3;
        }

        public void setProduct_pic3(String product_pic3) {
            this.product_pic3 = product_pic3;
        }

        public String getBuy_numbers() {
            return buy_numbers;
        }

        public void setBuy_numbers(String buy_numbers) {
            this.buy_numbers = buy_numbers;
        }

        public Object getIs_discount() {
            return is_discount;
        }

        public void setIs_discount(Object is_discount) {
            this.is_discount = is_discount;
        }

        public Object getIs_tuangou() {
            return is_tuangou;
        }

        public void setIs_tuangou(Object is_tuangou) {
            this.is_tuangou = is_tuangou;
        }

        public String getPrice_tuangou() {
            return price_tuangou;
        }

        public void setPrice_tuangou(String price_tuangou) {
            this.price_tuangou = price_tuangou;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getMaoprice() {
            return maoprice;
        }

        public void setMaoprice(String maoprice) {
            this.maoprice = maoprice;
        }

        public String getIs_kezhuang() {
            return is_kezhuang;
        }

        public void setIs_kezhuang(String is_kezhuang) {
            this.is_kezhuang = is_kezhuang;
        }

        public Object getSmallN_price() {
            return smallN_price;
        }

        public void setSmallN_price(Object smallN_price) {
            this.smallN_price = smallN_price;
        }

        public Object getSmallNB_price() {
            return smallNB_price;
        }

        public void setSmallNB_price(Object smallNB_price) {
            this.smallNB_price = smallNB_price;
        }

        public Object getRollN_price() {
            return rollN_price;
        }

        public void setRollN_price(Object rollN_price) {
            this.rollN_price = rollN_price;
        }

        public Object getRollNB_price() {
            return rollNB_price;
        }

        public void setRollNB_price(Object rollNB_price) {
            this.rollNB_price = rollNB_price;
        }

        public Object getSsN_price() {
            return ssN_price;
        }

        public void setSsN_price(Object ssN_price) {
            this.ssN_price = ssN_price;
        }

        public Object getSsNB_price() {
            return ssNB_price;
        }

        public void setSsNB_price(Object ssNB_price) {
            this.ssNB_price = ssNB_price;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }

        public String getDiscount() {
            return discount;
        }

        public void setDiscount(String discount) {
            this.discount = discount;
        }

        public Object getTuangou_numbers() {
            return tuangou_numbers;
        }

        public void setTuangou_numbers(Object tuangou_numbers) {
            this.tuangou_numbers = tuangou_numbers;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getDateline() {
            return dateline;
        }

        public void setDateline(String dateline) {
            this.dateline = dateline;
        }

        public String getIs_open() {
            return is_open;
        }

        public void setIs_open(String is_open) {
            this.is_open = is_open;
        }

        public Object getDelivery_type() {
            return delivery_type;
        }

        public void setDelivery_type(Object delivery_type) {
            this.delivery_type = delivery_type;
        }

        public String getPay_type() {
            return pay_type;
        }

        public void setPay_type(String pay_type) {
            this.pay_type = pay_type;
        }

        public String getIs_shangjia() {
            return is_shangjia;
        }

        public void setIs_shangjia(String is_shangjia) {
            this.is_shangjia = is_shangjia;
        }

        public String getProduct_num() {
            return product_num;
        }

        public void setProduct_num(String product_num) {
            this.product_num = product_num;
        }

        public String getIs_new() {
            return is_new;
        }

        public void setIs_new(String is_new) {
            this.is_new = is_new;
        }

        public Object getDeal_num() {
            return deal_num;
        }

        public void setDeal_num(Object deal_num) {
            this.deal_num = deal_num;
        }

        public Object getCity() {
            return city;
        }

        public void setCity(Object city) {
            this.city = city;
        }

        public String getIs_baoyou() {
            return is_baoyou;
        }

        public void setIs_baoyou(String is_baoyou) {
            this.is_baoyou = is_baoyou;
        }

        public String getReviews() {
            return reviews;
        }

        public void setReviews(String reviews) {
            this.reviews = reviews;
        }

        public String getCategory_id() {
            return category_id;
        }

        public void setCategory_id(String category_id) {
            this.category_id = category_id;
        }

        public Object getCommunity_id() {
            return community_id;
        }

        public void setCommunity_id(Object community_id) {
            this.community_id = community_id;
        }

        public String getWarehouse_id() {
            return warehouse_id;
        }

        public void setWarehouse_id(String warehouse_id) {
            this.warehouse_id = warehouse_id;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getShop_name() {
            return shop_name;
        }

        public void setShop_name(String shop_name) {
            this.shop_name = shop_name;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getBusiness_time() {
            return business_time;
        }

        public void setBusiness_time(String business_time) {
            this.business_time = business_time;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getLng() {
            return lng;
        }

        public void setLng(String lng) {
            this.lng = lng;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getProduct_numbers() {
            return product_numbers;
        }

        public void setProduct_numbers(String product_numbers) {
            this.product_numbers = product_numbers;
        }

        public String getTuijian_numbers() {
            return tuijian_numbers;
        }

        public void setTuijian_numbers(String tuijian_numbers) {
            this.tuijian_numbers = tuijian_numbers;
        }

        public String getCall_numbers() {
            return call_numbers;
        }

        public void setCall_numbers(String call_numbers) {
            this.call_numbers = call_numbers;
        }

        public String getShop_level() {
            return shop_level;
        }

        public void setShop_level(String shop_level) {
            this.shop_level = shop_level;
        }

        public String getShop_introduce() {
            return shop_introduce;
        }

        public void setShop_introduce(String shop_introduce) {
            this.shop_introduce = shop_introduce;
        }

        public String getShop_abstract() {
            return shop_abstract;
        }

        public void setShop_abstract(String shop_abstract) {
            this.shop_abstract = shop_abstract;
        }

        public String getQq() {
            return qq;
        }

        public void setQq(String qq) {
            this.qq = qq;
        }

        public String getWeichat() {
            return weichat;
        }

        public void setWeichat(String weichat) {
            this.weichat = weichat;
        }

        public String getContact() {
            return contact;
        }

        public void setContact(String contact) {
            this.contact = contact;
        }

        public Object getIntroduce() {
            return introduce;
        }

        public void setIntroduce(Object introduce) {
            this.introduce = introduce;
        }

        public String getShop_star() {
            return shop_star;
        }

        public void setShop_star(String shop_star) {
            this.shop_star = shop_star;
        }

        public String getShop_sale() {
            return shop_sale;
        }

        public void setShop_sale(String shop_sale) {
            this.shop_sale = shop_sale;
        }
    }
}
